// Application.cpp : implementation of the CApplication class
//
#include "stdafx.h"
#include "ControlClass.h"

CControlClass::CControlClass()
{
	// TODO: add member initialization code here
	
}
CControlClass::~CControlClass()
{

}

bool CControlClass::GetDetect() const
{
	return m_detect;
}
void CControlClass::SetDetect(bool nDetect)
{
	m_detect=nDetect;
}
GString CControlClass::GetValue() const
{
	return m_value;
}
void CControlClass::SetValue(GString nValue)
{
	m_value=nValue;
}
void CControlClass::MapXMLTagsToMembers()
{
	MapAttribute(&m_detect,"detect");
	MapAttribute(&m_value,"value");
}
IMPLEMENT_FACTORY(CControlClass, ControlClass);